home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
-
- SRCDIR=`dirname $0`/usr/share/Insight/library
-
- INSIGHT=`which insight`
- if [ $? != 0 ]; then
- echo "\nInsight not found on this system...\n"
- exit 1
- fi
-
- SZ=`/bin/ls -s "$INSIGHT" | awk '{printf "%s", $1}'`
-
- if [ "$SZ" -lt 200 ]; then
- # new
- insight -n -l "$SRCDIR/SGI_bookshelves"
- else
- # old
- insight -l "$SRCDIR"
- fi
-
- exit 0
-
-